<template>
	<view class="detail-wrap">
		<DetailHeader title="活动详情" subTitle='广州市从化区吕田镇人大代表中心联络站'></DetailHeader>
		<view class="detail-con">
			<view class="zzdb-item">
				<image src="/static/ren.png" mode="" class="renxiang"></image>
				<image src="/static/name_icon.png" class="icon" mode=""></image>
				<view class="con-box">
					<view class="title">
						全国人大代表
					</view>
					<view class="name">
						<text>姓名：张子昂</text> <text>性别：男</text>
					</view>
					<view class="dept">
						党派：中共党员
					</view>
					<view class="dept">
						单位及职务：市司法局局长
					</view>
					<view class="count">
						本年已进社区：32次
					</view>
				</view>
			</view>
			<view class="zzdb-log">
				<view class="title">
					代表履职记录
				</view>
				<view class="log-item" v-for="(item,index) in logList" :key='index'>
					<view class="time">
						<view class="dot">

						</view>
						{{item.time}}
					</view>
					<view class="item-text">
						{{item.value}}
					</view>
				</view>
			</view>
		</view>

	</view>
</template>

<script>
	import DetailHeader from '@/components/nacigation/DetailHeader.vue';
	export default {
		components: {
			DetailHeader,
		},
		data() {
			return {
				logList: [{
					time: '2024-05-27',
					value: '调研联络站数字化建设工作'
				}, {
					time: '2024-05-27',
					value: '调研联络站数字化建设工作'
				}, {
					time: '2024-05-27',
					value: '调研联络站数字化建设工作'
				}, {
					time: '2024-05-27',
					value: '调研联络站数字化建设工作'
				}, ]
			}
		},
		methods: {}
	};
</script>

<style scoped lang="scss">
	.detail-wrap {
		.detail-con {
			padding: 50rpx 20rpx;
		}

		.zzdb-item {
			width: 100%;
			height: 250rpx;
			background: #FFFFFF;
			box-shadow: 0rpx 0rpx 32rpx 0rpx rgba(0, 0, 0, 0.11);
			border-radius: 0rpx 0rpx 0rpx 0rpx;
			border: 2rpx solid #EDEDED;
			display: flex;
			position: relative;
			padding-left: 204rpx;
			margin-bottom: 50rpx;

			.renxiang {
				width: 172rpx;
				height: 208rpx;
				position: absolute;
				left: 26rpx;
				top: -26rpx;
			}

			.icon {
				width: 50rpx;
				height: 48rpx;
				margin-top: 26rpx;
			}

			.con-box {
				font-family: PingFang SC, PingFang SC;
				font-weight: 500;
				font-size: 28rpx;
				color: #000000;
				line-height: 33rpx;
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				padding: 26rpx 26rpx 26rpx 0;
				width: 100%;

				.title {
					font-family: PingFang SC, PingFang SC;
					font-weight: 500;
					font-size: 28rpx;
					color: #000000;
					line-height: 33rpx;
				}

				.name {
					width: 100%;
					display: flex;
					align-items: center;
					justify-content: space-between;
				}
			}
		}

		.zzdb-log {
			background: #FFFFFF;
			box-shadow: 0rpx 0rpx 32rpx 0rpx rgba(0, 0, 0, 0.11);
			border-radius: 0rpx 0rpx 0rpx 0rpx;
			border: 2rpx solid #EDEDED;
			position: relative;
			padding: 50rpx 30rpx 0rpx;

			.title {
				position: absolute;
				left: 26rpx;
				top: -25rpx;
				width: 184rpx;
				height: 50rpx;
				line-height: 50rpx;
				background: linear-gradient(135deg, #FF0000 0%, #C70100 100%);
				border-radius: 4rpx 4rpx 4rpx 4rpx;
				font-family: PingFang SC, PingFang SC;
				font-weight: 600;
				font-size: 24rpx;
				color: #FFFFFF;
				text-align: center;
				font-style: normal;
				text-transform: none;
			}

			.log-item {
				margin-bottom: 24rpx;

				.time {
					font-family: PingFang SC, PingFang SC;
					font-weight: 500;
					font-size: 24rpx;
					color: #F22C1F;
					line-height: 28rpx;
					display: flex;
					align-items: center;

					.dot {
						width: 20rpx;
						height: 20rpx;
						background: #FF1212;
						border-radius: 50%;
						margin-right: 10rpx;
					}
				}

				.item-text {
					padding-left: 35rpx;
					font-family: PingFang SC, PingFang SC;
					font-weight: 500;
					font-size: 24rpx;
					color: #262626;
					line-height: 46rpx;
				}
			}
		}

	}
</style>